package com.example.web.mapper;


import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.example.web.entity.User;
@Mapper
public interface UserMapper extends BaseMapper<User>{

	@Select("select * from user where id = #{id}")
	public User getUserById(@Param("id") Integer id);
	
	public List<User> getList();
	
}
